package com.mercury.core.enums;

import com.mercury.core.enums.base.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 查询方向
 *
 * @author mercury
 */
@Getter
@AllArgsConstructor
public enum DirectionTypeEnum implements IEnum {

    /**
     * 顺序
     */
    ASC(0, "ASC"),
    /**
     * 倒序
     */
    DESC(1, "DESC");

    private final int code;
    private final String name;

}
